git delete current changes

45

# Discarding local changes (permanently) to a file:
git checkout -- <file>

# Discard all local changes to all files permanently:
git reset --hard
git clean -df
git checkout -- .

Comments

Submit
0 Comments